package com.wealth.cart.service;

import iaas.service.IBaseService;

import java.util.List;

import com.wealth.cart.entity.CartItem;

public interface ICartItemService  extends IBaseService<CartItem> {

	 /**
	  * 查询某个购物车的商品有几个商户
	  * @param cartId 购物车ID
	  * @return
	  */
	 public List<CartItem> getCartByCartId(long cartId)throws Exception;
	 
	 
	 public List<CartItem> findCartItemByCartId(Long memberId,long marketId,Integer status);
	 
	
   //删除购物车里的商品
 	public void delCartItem(Long memberId,Long marketId) throws Exception;
 	
 	 /**
	  * 查询某个购物车选中的商品有几个商户
	  * @param cartId 购物车ID
	  * @return
	  */
	 public List<CartItem> getCheckCarItem(long cartId)throws Exception;
}
